package org.itboys.seller.service;

import org.itboys.commons.utils.time.TimeUtils;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.itboys.seller.entity.ChangeScoreRecord;
import org.itboys.seller.entity.GetRewardRecord;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * 商家登陆账号
 * @author weisky
 *
 */
@Service
public class GetRewardRecordService extends BaseService<GetRewardRecord, Long>{
	
	private static final long serialVersionUID = 1L;

	@Resource(name = "sellerDS")
	private MongoDataSource ds;

	@Override
	protected MongoDataSource getMongoDataSource() {
		return ds;
	}

	@Override
	protected Class<GetRewardRecord> getEntityClass() {
		return GetRewardRecord.class;
	}

}
